remove version-specific references from debian/rules
authorDrew Parsons <dparsons@debian.org>
Wed, 28 Jan 2026 08:42:02 +0000 (09:42 +0100)
committerDrew Parsons <dparsons@debian.org>
Wed, 28 Jan 2026 08:42:02 +0000 (09:42 +0100)
debian/changelog
debian/rules

index 632f0151f5bdd1e1b483a8263fe2c4b06a5a68a7..e694e0612d798365532fc39375702da35bfe77e6 100644 (file)
@@ -1,6 +1,7 @@
 vtk9 (9.5.2+dfsg3-3) UNRELEASED; urgency=medium
 
   * build docs in arch-indepedent build only
+  * remove version-specific references from debian/rules
 
  -- Drew Parsons <dparsons@debian.org>  Wed, 28 Jan 2026 09:39:36 +0100
 
index a278221c10ed7df8874a61c8aec5ef3649618bb1..f868b0cd81285e41bd7d7720e212aae9ca932f46 100755 (executable)
@@ -137,14 +137,14 @@ override_dh_auto_install:
 ifneq ($(JAVA_HOME),)
        mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk.jar $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk9.jar
 endif
-       sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-9.5/VTK-targets.cmake
+       sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-*/VTK-targets.cmake
 
 execute_after_dh_install:
        rm -rf $(CURDIR)/debian/tmp/usr/share/licenses
        find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -delete || true
        find $(CURDIR)/debian/libvtk9-dev/usr/include/ -name "Q*" -delete || true
-       find $(CURDIR)/debian/libvtk9.5/ -name "*Qt*" -delete || true
-       find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.5/doxygen -name "_formulas.log" -delete || true
+       find $(CURDIR)/debian/libvtk9*/ -name "*Qt*" -delete || true
+       find $(CURDIR)/debian/tmp/usr/share/doc/vtk-*/doxygen -name "_formulas.log" -delete || true
        find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -delete || true
 
 # Fix privacy breach